check_library_exists(ibverbs ibv_create_qp "" YLT_HAVE_IBVERBS)
if(YLT_HAVE_IBVERBS)
  set(YLT_ENABLE_IBV ON)
  set(IBVERBS_LIBRARY ibverbs)
  message(STATUS "have libibverbs")
endif()